package interfaz;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import beans.ItemComandaBean;
import beans.MedioPagoBean;
import beans.MesaBean;
import beans.MozoBean;
import beans.PlatoBean;
import beans.RestauranteBean;

public interface InterfazRestaurante extends Remote {
	
	public List<RestauranteBean> getRestaurantes() throws RemoteException;
	public List<MedioPagoBean> getMediosPago() throws RemoteException;
	public List<MozoBean> getMozosDeRestaurante(Integer restaurante) throws RemoteException;
	public List<MesaBean> getMesasDeMozo(Integer legajoMozo) throws RemoteException;
	public List<MesaBean> getMesasPorEstado(String estado) throws RemoteException;
	public void liberarMesa(Integer restaurante, Integer mesa)throws RemoteException;
	public void generarComandas(Integer numero,List<ItemComandaBean> itemsComanda) throws RemoteException;
	
	public void registrarAperturaMesa(Integer legajo, Integer numeroMesa, Integer cantComensales) throws RemoteException;
	public void cerrarMesa(Integer restaurante, Integer mesa) throws RemoteException;
	public Float calcularTotalMesa(Integer restaurante, Integer mesa)throws RemoteException;
	public void generarFactura(Integer mesa, Integer medioPago)throws RemoteException;
}
